package com.backweb.service;

import com.backweb.model.Article;

import java.util.List;

public interface IArticle {
    Article findArticleByRid(int rid);
    List<Article> findPage(String t1 , String t2, Integer pageNo, Integer rows);
    Integer findPageTotal(String t1 , String t2);
    void delete(Article entity);
    int dayTotal(int type);
    List<Article> dayPage(int type ,Integer pageNo, Integer rows);
}
